package com.darren.archive.service;

import com.darren.archive.entity.SysParameter;
import com.darren.framework.service.GenericService;

import java.util.List;


/**
 * <pre>
 * *********************************************
 * Copyright DARREN
 * All rights reserved.
 * Description: TODO(description)
 * HISTORY:
 * *********************************************
 *  Version		Date		Author	   		Desc	
 *   v1.0       2018-04-11  Darren Zhou    Create

 * *********************************************
 * </pre>
 */
public interface SysParameterService extends GenericService<SysParameter,Long> {

	public List<SysParameter> getAllSystemParameter();

	public <T> T getSysParamVal(String lookupCat, String lookupType, Class<T> clazz);

	public String getSysParamVal(String lookupCat, String lookupType);

	public SysParameter getSystemParameterByLookupCatAndLookupType(String lookupCat, String lookupType);
	
	public void clearSystemParameter();
}
